package com.ruoyi.cms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户反馈对象 cms_feedback
 * 
 * @author zouhuu
 * @date 2022-08-04
 */
public class CmsFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 反馈类型(0功能异常 1产品建议 2违规举报) */
    @Excel(name = "反馈类型(0功能异常 1产品建议 2违规举报)")
    private Integer feedbackType;

    /** 反馈标题 */
    @Excel(name = "反馈标题")
    private String feedbackTitle;

    /** 反馈内容 */
    @Excel(name = "反馈内容")
    private String feedbackContent;

    /** 反馈附件 */
    @Excel(name = "反馈附件")
    private String feedbackAttach;

    /** 处理等级(0普通 1加急 2紧急) */
    @Excel(name = "处理等级(0普通 1加急 2紧急)")
    private Integer handleLevel;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 回复人 */
    @Excel(name = "回复人")
    private String replyBy;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date replyTime;

    /** 反馈状态(0待处理 1处理中 2已完成) */
    @Excel(name = "反馈状态(0待处理 1处理中 2已完成)")
    private Integer feedbackStatus;

    /** 评价 */
    @Excel(name = "评价")
    private String comComment;

    /** 评分 */
    @Excel(name = "评分")
    private BigDecimal comGrade;

    /** 删除状态(0未删除 1已删除) */
    private Integer delFlag;

    /** 数据状态(0正常 1停用) */
    @Excel(name = "数据状态(0正常 1停用)")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setFeedbackType(Integer feedbackType) 
    {
        this.feedbackType = feedbackType;
    }

    public Integer getFeedbackType() 
    {
        return feedbackType;
    }
    public void setFeedbackTitle(String feedbackTitle) 
    {
        this.feedbackTitle = feedbackTitle;
    }

    public String getFeedbackTitle() 
    {
        return feedbackTitle;
    }
    public void setFeedbackContent(String feedbackContent) 
    {
        this.feedbackContent = feedbackContent;
    }

    public String getFeedbackContent() 
    {
        return feedbackContent;
    }
    public void setFeedbackAttach(String feedbackAttach) 
    {
        this.feedbackAttach = feedbackAttach;
    }

    public String getFeedbackAttach() 
    {
        return feedbackAttach;
    }
    public void setHandleLevel(Integer handleLevel) 
    {
        this.handleLevel = handleLevel;
    }

    public Integer getHandleLevel() 
    {
        return handleLevel;
    }
    public void setReplyContent(String replyContent) 
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent() 
    {
        return replyContent;
    }
    public void setReplyBy(String replyBy) 
    {
        this.replyBy = replyBy;
    }

    public String getReplyBy() 
    {
        return replyBy;
    }
    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }
    public void setFeedbackStatus(Integer feedbackStatus) 
    {
        this.feedbackStatus = feedbackStatus;
    }

    public Integer getFeedbackStatus() 
    {
        return feedbackStatus;
    }
    public void setComComment(String comComment) 
    {
        this.comComment = comComment;
    }

    public String getComComment() 
    {
        return comComment;
    }
    public void setComGrade(BigDecimal comGrade) 
    {
        this.comGrade = comGrade;
    }

    public BigDecimal getComGrade() 
    {
        return comGrade;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("contactName", getContactName())
            .append("contactPhone", getContactPhone())
            .append("feedbackType", getFeedbackType())
            .append("feedbackTitle", getFeedbackTitle())
            .append("feedbackContent", getFeedbackContent())
            .append("feedbackAttach", getFeedbackAttach())
            .append("handleLevel", getHandleLevel())
            .append("replyContent", getReplyContent())
            .append("replyBy", getReplyBy())
            .append("replyTime", getReplyTime())
            .append("feedbackStatus", getFeedbackStatus())
            .append("comComment", getComComment())
            .append("comGrade", getComGrade())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
